<#if po??>
package ${servicePackage};

import com.odianyun.project.query.PageQueryArgs;
import com.odianyun.project.query.QueryArgs;

import com.odianyun.project.base.IBaseService;
import com.odianyun.project.base.IEntity;
import ${poPackage}.${po.name}PO;
import ${voPackage}.${po.name}VO;
<#list po.relOneList as rel>
import ${voPackage}.${rel.name}VO;
<#if rel.mainField.requireTypeImport>
import ${rel.mainField.typeFullName};
</#if>
</#list>
<#list po.relManyList as rel>
import ${voPackage}.${rel.name}VO;
<#if rel.mainField.requireTypeImport>
import ${rel.mainField.typeFullName};
</#if>
import java.util.List;
</#list>

public interface ${po.name}Service extends IBaseService<Long, ${po.name}PO, IEntity, ${po.name}VO, PageQueryArgs, QueryArgs> {

    <#list po.relOneList as rel>
    /**
     * 查询${rel.title}
     * @param ${rel.mainField.name}
     * @return
     */
    ${rel.name}VO get${rel.name}(${rel.mainField.typeName} ${rel.mainField.name});
      </#list>
      <#list po.relManyList as rel>
      /**
       * 查询${rel.title}
       * @param ${rel.mainField.name}
       * @return
       */
    List<${rel.name}VO> list${rel.name}(${rel.mainField.typeName} ${rel.mainField.name});
    </#list>

}
</#if>